package com.hhkj.study.admin.user.service.biz;

import com.hhkj.study.admin.user.entity.User;
import com.hhkj.study.admin.user.model.req.UserCloseReq;
import com.hhkj.study.admin.user.model.req.UserReq;
import com.hhkj.study.admin.user.model.res.UserRes;
import com.hhkj.study.common.model.res.ExcelImportResultRes;
import com.ruoyi.common.base.biz.service.biz.BaseBizService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
* UserBizService
*
* @author SERVER
* @since 2024-09-06
*/
public interface UserBizService extends BaseBizService<User, UserReq, UserRes> {

    void export(UserReq req, HttpServletResponse response);

    ExcelImportResultRes importCustomerUser(MultipartFile file, HttpServletRequest request);

    boolean rePassword(Long id);

    boolean updateDisable(UserCloseReq req);

    boolean remove(UserCloseReq req);

    UserRes get(UserReq userReq);
}